package com.han.ctroomtype.pojo.base;

import net.good321.frame.data.*;

/**
 * this class file is auto output by net.good321.frame.db.tool.PoPrinter
 * @see net.good321.frame.db.tool.PoPrinter
 */
public abstract class BaseTbQuestionPo extends BasePo {

	public static final String PROP_ID = "id";
	public static final String PROP_CONTEXT = "context";
	public static final String PROP_CONTACTWAY = "contactway";
	public static final String PROP_PIC = "pic";
	public static final String PROP_USERTYPE = "usertype";
	public static final String PROP_USERID = "userid";
	public static final String PROP_STATE = "state";
	public static final String PROP_CREATTIME = "creattime";
	public static final String PROP_ENDTIME = "endtime";
	public static final String PROP_ANSWERUSER = "answeruser";

	/***/
	private java.lang.Integer id = null;
	/**内容*/
	private java.lang.String context = null;
	/**联系方式*/
	private java.lang.String contactway = null;
	/***/
	private java.lang.String pic = null;
	/**用户类型*/
	private java.lang.Integer usertype = null;
	/**用户ID*/
	private java.lang.String userid = null;
	/**状态1待解决，2已解决*/
	private java.lang.Integer state = null;
	/**提交时间*/
	private java.util.Date creattime = null;
	/**最后修改时间*/
	private java.util.Date endtime = null;
	/**解答者*/
	private java.lang.String answeruser = null;

	/**get */
	public java.lang.Integer getId(){
		return id;
	}

	/**set */
	public void setId(java.lang.Integer id){
		this.id = id;
	}

	/**get 内容*/
	public java.lang.String getContext(){
		return context;
	}

	/**set 内容*/
	public void setContext(java.lang.String context){
		this.context = context;
	}

	/**get 联系方式*/
	public java.lang.String getContactway(){
		return contactway;
	}

	/**set 联系方式*/
	public void setContactway(java.lang.String contactway){
		this.contactway = contactway;
	}

	/**get */
	public java.lang.String getPic(){
		return pic;
	}

	/**set */
	public void setPic(java.lang.String pic){
		this.pic = pic;
	}

	/**get 用户类型*/
	public java.lang.Integer getUsertype(){
		return usertype;
	}

	/**set 用户类型*/
	public void setUsertype(java.lang.Integer usertype){
		this.usertype = usertype;
	}

	/**get 用户ID*/
	public java.lang.String getUserid(){
		return userid;
	}

	/**set 用户ID*/
	public void setUserid(java.lang.String userid){
		this.userid = userid;
	}

	/**get 状态1待解决，2已解决*/
	public java.lang.Integer getState(){
		return state;
	}

	/**set 状态1待解决，2已解决*/
	public void setState(java.lang.Integer state){
		this.state = state;
	}

	/**get 提交时间*/
	public java.util.Date getCreattime(){
		return creattime;
	}

	/**set 提交时间*/
	public void setCreattime(java.util.Date creattime){
		this.creattime = creattime;
	}

	/**get 最后修改时间*/
	public java.util.Date getEndtime(){
		return endtime;
	}

	/**set 最后修改时间*/
	public void setEndtime(java.util.Date endtime){
		this.endtime = endtime;
	}

	/**get 解答者*/
	public java.lang.String getAnsweruser(){
		return answeruser;
	}

	/**set 解答者*/
	public void setAnsweruser(java.lang.String answeruser){
		this.answeruser = answeruser;
	}

	@Override
	public String[] props() {
		return new String[]{"`id`" ,"`context`" ,"`contactway`" ,"`pic`" ,"`usertype`" ,"`userid`" ,"`state`" ,"`creattime`" ,"`endtime`" ,"`answeruser`"};
	}
	@Override
	public Object[] propValues() {
		return new Object[]{id ,context ,contactway ,pic ,usertype ,userid ,state ,creattime ,endtime ,answeruser};
	}
}
